<template>
  <div class="">
    <h3>详情页</h3>
    <!-- {{ id }} -->
    <img :src="item.pic" alt="" />
    {{ item.title }}
  </div>
</template>

<script>
export default {
  data() {
    return {
      //   id: this.$route.query.id,
      result: [],
      item: this.$route.query.item,
    };
  },
  mounted() {
    // this.getres();
  },
  methods: {
    // getres() {
    //   this.$axios.get("list.json").then((res) => {
    //     this.result = res.data.result.filter((item) => {
    //       return item._id == this.id;
    //     });
    //   });
    // },
  },
  components: {},
};
</script>

<style lang="scss"></style>
